package com.example.javalib.jihe;

import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * 集合找不同
 */
public class ListDiff {

    public static  String[]  filterClass={"ForegroundCallbacks","ClassAdapter","hello"};
    public static String[]  filterClass2={"ForegroundCallbacks","ClassAdapter"};
    public static void main(String[] args) {
        List filterList=Arrays.asList(filterClass2);
            for (int i = 0; i < filterClass.length; i++) {
                if (!filterList.contains(filterClass[i])) {

                    System.out.println(filterClass[i]);
                }
            }

    }
}
